package com.rmb.controller;

import com.rmb.entity.EtlDataEngineType;
import com.rmb.service.EtlDataEngineTypeService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * (EtlDataEngineType)表控制层
 *
 * @author makejava
 * @since 2021-01-13 10:31:43
 */
@RestController
@RequestMapping("etlDataEngineType")
public class EtlDataEngineTypeController {
    /**
     * 服务对象
     */
    @Resource
    private EtlDataEngineTypeService etlDataEngineTypeService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public EtlDataEngineType selectOne(Long id) {
        return this.etlDataEngineTypeService.queryById(id);
    }

}